/*
 * AbsoluteLocation.java
 *
 * Created on 19 maart 2008, 9:23
 *
 * @author wijnand.schepens@hogent.be
 */

package model.graphic.locations;

import java.io.Serializable;

public class AbsoluteLocation implements Location, Serializable
{
	protected int x, y;

    public AbsoluteLocation(){}
	
	public AbsoluteLocation(int x, int y)
	{
		this.x = x;
		this.y = y;
	}

	public int getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}

	public void setXY(int x, int y)
	{
		this.x = x;
		this.y = y;
	}

    public void print(){
        System.out.println("abs x: "+x+" - y: "+y);
    }
}
